package cn.oms.email.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_delete_record")
@ApiModel(value="UserDeleteRecord对象", description="")
public class UserDeleteRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID（新增自增生成）(UUID)")
    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "删除用户ID（对应用户表ID）")
    @TableField("SENDER_USER_ID")
    private String senderUserId;

    @ApiModelProperty(value = "对应聊天人ID（对应用户表ID）")
    @TableField("SENDER_TO_USER_ID")
    private String senderToUserId;

    @ApiModelProperty(value = "聊天记录ID（对应聊天记录表）")
    @TableField("CHAT_RECORD_ID")
    private String chatRecordId;

    @ApiModelProperty(value = "删除时间（创建时间）")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "删除标记（0未删 1已删）")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
